package com.cy.ppj.dao.mapper.message;

import com.cy.ppj.model.domian.message.MessageTemplate;
import com.cy.ppj.model.dto.message.*;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import tk.mybatis.mapper.common.BaseMapper;

@Mapper
public interface MessageTemplateMapper extends BaseMapper<MessageTemplate> {

    UserRegisterMessageDTO selectUserRegisterMessageTemplate(@Param("mobile") String mobile);

    OrderMessageDTO selectOrderMessageTemplate(@Param("orderId") Long orderId);

    CommissionMessageDTO selectCommissionMessageTemplate(@Param("orderId") Long orderId);

    WithdrawMessageDTO selectWithdrawMessageTemplate(@Param("withdrawId") Long withdrawId);

    OrderScanRecordMessageDTO selectOrderScanRecordMessageTemplate(@Param("orderId") Long orderId);
}
